import { Item } from './item'
import { RecipeItem } from "./recipeItem"

// 定义Factory类
export class Factory {
	id : string;
	recipes : RecipeItem[];
	ingredients : Item[];
	products : Item[];

	constructor(id : string, recipes : RecipeItem[], ingredients : Item[], products : Item[]) {
		this.id = id;
		this.recipes = recipes;
		this.ingredients = ingredients;
		this.products = products;
	}
	// 可以添加一些方法来处理工厂的逻辑，例如添加产品、更新配方等
}